package com.zst.demo2.service;

import com.zsr.entities.UserDTO;

import java.util.Optional;

public interface IUserService {
    /**
     * 根据userId获取用户信息
     *
     * @param id
     * @return
     */
    Optional<UserDTO> getUserById(Long id);
}
